Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML]

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML]


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: [OpenSAML]
  • Date: Thu, 17 Jul 2008 14:03:07 +0200
  • Openpgp: id=146B2514
  • Organization: SWITCH

I know some other people are using this on Windows and I haven't heard anything like this from them. What JVM are you using?


wrote:
I am using the latest SAML2 library for Java.
When I call the encrypt() method of an Encryter for an Attribute, it looks like the downline code is using
SecureRandom to generate an unique id for the Node. On my XP machine at least, this is a VERY expensive operation, and I find it spending 2.2-2.5 seconds
in the nextByte() .

Do others find this to be true? Is there a way I can generate my own id for the Node?

SecureRandom is critical for key generation et al. but isn't it overkill for generating a simple id?
What am I missing?

Edward Thompson
Charlotte, NC 28202


--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Net Services
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
,
http://www.switch.ch




Archive powered by MHonArc 2.6.16.

Top of Page