Doubt in some Concepts

Hi everyone,
I have doubts with some security concepts, i've been reading documents, but i can clear this things up.... here's the thing....
What exactly are a keystore, certificate and .pfx or p12 files?
i understood that a pfx or p12 files are keystores whose have inside public and private keys.... but in my concept a certificate also have a public key and a private key..so i can say that keystores are certificates.... but i'm messing this concepts up, pretty sure of that....
Could anyone help me?
Thanks in Advance
Edited by: cs.santos on Jun 16, 2009 12:28 PM

1. Certificates only have public keys in them
2. PFX and PKCS12 are essentially the same thing.
3. PKCS12 is a format that is typically used to store a single keypair, both the public and private parts.
4. KeyStore is a java class the provides storage for keys of all kinds, as the name implies. The KeyStore class supports different formats; one of these is PKCS12

Similar Messages

  • Doubts in GeoRaster Concept.

    Hi everybody,
    I have few doubts in GeoRaster concepts.
    I did mosaicing of multiple Georasater objects using "sdo_geor.getRasterSubset()" and able to display image properly. But while doing this I come across few people suggestions. They said that mosaicing multiple rows together in a GeoRaster table is not going produce meaningful results because the interpolation methods wont have access to the data in the adjacent cells at the seams because cell needed exist in a different row (i.e. where two rows of GeoRaster either abut or overlap).
    I assume Oracle takes care of all this. Please suggest wheather my assumption is true or the statement given is true?
    Regards,
    Baskar
    Edited by: user_baski on May 16, 2010 10:49 PM

    Hi Jeffrey,
    Requirements:-
    I have to do mosaicing of 'n' number of Georaster objects. For eg, if table has 4 rows of GeoRaster object, then i have to create single image by mosaicing all the Georaster object based on the Envelope provided. (Note: I have to do this with Queries without using GeoRaster API)
    Workflow:-
    1. Get the connection and table details.
    2. Retrieve necessary information from the db like SRID, MAXPYRAMID, SPATIALRESOLUTION, EXTENT etc. For getting extent, I used SDO_AGGR_MBR function.
    3. With the help of "MDSYS.SDO_FILTER" and bouding box values, I create arraylist which contains raster id's retrieved from raster data table which covers the bouding box value provided in the filter command.
    4. Then I passed bounding box value into "sdo_geor.getCellCoordinate" function and I retrieved row and column number of Georaster image and created a number array which contains starting and ending row/column numbers.
    5. Then I had written a PL/SQL with "sdo_geor.getRasterSubset" function which takes the number array and raster id as input parameters, which inturn returns BLOB object.
    6. I am executing step 5 in a loop with all the raster id's that I got at step 3. For eg, arraylist size is 4, then I will have four BLOB object.
    7. Finally, I creating new image from the BLOB objects after some scaling and cropping based on the individual GeneralEnvelope of each raster id object.
    I had followed all the above steps and successfully created mosaic image.However, few people suggested that mosaicing in this way does not produce meaningful results because the interpolation methods wont have access to the data in the adjacent cells at the seams because cell needed exist in a different row. I assume Oracle will take care of these things. Moreover, they suggested to keep single row in GeoRaster table instead of muliple rows of Georaster object and suggested to use "SDO_GEOR.updateRaster" function to update a part of the raster object and the pyramids are rebuild automatically.
    So Please suggest which is the better way to do mosaicing. Wheather my assumption is correct or not?

  • Doubt in Dataguard concept

    Dear all,
    Please help me regarding this i am very much confused.....
    I had couple of doubts in dataguard concepts.
    1)When archive log is transferred from primary to standby ,
    a.Whether DBWR will be in active state or not in standby server.To write the contents in the archived redo log files which came from the primary to the datafiles of the standby server.
    b.I am using online redo logs in the standby server not standby redo logs , whether online redologs in the standby server will have any effect in shipping of redologs from the primary database,
    c. In my standby database online redo logs state is changing between CLEARING AND CLEARING CURRENT.How standby server redologs will change it state,
    Regards,
    Vamsi.

    Hi again,
    They are not used in a physical standby database. They exist in order to be used in a case of opening the standby database read-write (failover/snapshot standby). Here what documentation says:
    Online redo logs
    Every instance of an Oracle primary database and logical standby database has an associated online redo log to protect the database in case of an instance failure. Physical standby databases do not have an associated online redo log, because physical standby databases are never opened for read/write I/O; changes are not made to the database and redo data is not generated.
    Create an Online Redo Log on the Standby Database
    Although this step is optional, Oracle recommends that an online redo log be created when a standby database is created. By following this best practice, a standby database will be ready to quickly transition to the primary database role.
    ...

  • Not clear about some concepts.

    I'm a newbie on installing Oracle8i.
    I 'm confused with some concepts in installation.
    A.Listener Name
    B.Service Name
    C.Net Service Name
    Question:
    1.Does one A listen on only one port?
    2.Can one A commuticate with several db instance?
    3.Does B stand for a db instance's name?
    4.Is B the same as ORACLE_SID?
    5.If the host I'm running Oracle has the name as "xxx.yyy.com",then can I give B the form as "db1.xxx.yyy.com"?
    6.Does C have the similiar meaning as all entries defined in /etc/services?
    7.Shoud I add some entry in /etc/services for any of A\B\C?
    Thank you!
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Q:
    1. No, you can configure your listener so that it listens to more than one port
    2. Yes, it can. Just add your databases to your listener.ora using netasst
    3. It doesn't need to be the same
    4. It doesn't need to be the same
    5. No, it has nothing to do with what you do in /etc/services
    6. No, you can leave /etc/services alone<HR></BLOCKQUOTE>
    Thanks,and some other questions:
    8.Does ORACLE_SID stands for a db instance's name.
    9.What's the relation between B and a db instance's name and ORACLE_SID?
    10.What's the relation between A and C.

  • Some concept confused for Azure Service Bus EventHub

    Currently, I’m trying to use the Azure Service Bus Event hub and I have some concepts a little bit confused:
    I have create an event hub (our requirement is send 10Kb data per seconds to the event hub), the hub include 10 partitions, then we receive the data using the
    EventHubReceiver, when I create the instance for the EventHubReceiver, it need the
    PartitionId, so I want to know which partitionId is needed?
     I guess all the Partitions have the same data which I sended, is it right?
    Is the PartitionId equals PartitionKey? My understanding is the PartitionId is the indicator for the Partitions in the Event Hub, the PartitionKey is the indicator for the device which send the data, so one Partition can contains many partitonIds,
    is it right?
    When we receive data from hub, we need set the Consumer Group, so what is the relationship between EventHub and Consumer group?
    When we use the EventProcessorHost to receive data, we do not to set the PartitionId, so the data we got is the all PartitionData?
    When we call the PartitionContext.CheckpointAsync(), the Event hub will do the things to release the Events(delete, clear or sth) by itself, we needn’t do it in our code,
    is it right?
    Is there a diagram to show the relationship for concepts of the EventHub?
    Thanks a lot!

    I'd ask them over here.
    Azure forums on MSDN
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Doubts on casting concepts in TAW12 part 1

    Can someone help me clarify a little confusion on Casting in materials provided by SAP Education on TAW12 part 1.
    I attended ILT and my instructor emphasized that: "wherever in this material we read 'Up-cast' or 'Down-cast', we should consider this as an error because what they meant to say is exactly the opposite".
    This has now left me confused especially after revising.
    Can someone please share some light on these terminologies and concept? especially in relation to materials provided on TAW12 ABAP Workbench Concept Part 1 (2013 SAP AG. All rights reserved)
    I have not been able to find much materials online for this section of the book and for many others.
    Any help would be greatly appreciated.
    Vince

    Hi Vince,
                   First thing, STOP worrying about the SAP material whether the contain is right/wrong.
                  Now, what I understand is that the instructor tried to explain the concepts in a easy way to remember but has that seems to have messed up your basics on up-cast & down-cast.
    I have looked in my sap material ( but its 2005 SAP AG reserved ).  The definition are fine.
    Anyways I'll try to explain in my style:
    Narrow casting( up-casting ):- Assigning of a subclass instance to a reference variable of type " reference to super class ". Here we navigate from a more detailed view to one with less details.
    Widening Cast( down-cast ):-  Assigning a super class to a sub class. From a less detailed view to more detailed view.
                             SUPER CLASS( vehicle ) less details
                                       |
                                       |
                                       |
                                SUB CLASS ( car, truck, bus, bike ) more details
    PS:- Try to understand the meaning from the example and then go back to the definition in the material.

  • Doubt in Overloading Concept in Packages

    Hi,
    I have two Stored Procedures are inside a package
    sp_mem(mCursor REFCURSOR Datatype,MemberId INTEGER);
    sp_mem(mCursor REFCURSOR Datatype, mEmailId INTEGER);
    In the Above Procedures if the second Parameter is Member Id then the first SP will be executed.
    In the Above Procedures if the Second Parameter is MemEmailId then the Second SP will be Executed.
    This is the normal OverLoading Concept inside the package. But for me, i am returning the Recordset using a RefCursor.
    I just want to know it is possible for returning the recordset using ref cursor with the overloading concept for both the SP.
    Thanks,
    Murali.V

    Hello
    You need to be careful with this type of overloading. Overloading is generally based around the position and data types of the parameters being supplied which are used to identify the "signature" of the particular procedure to call i.e.
    sp_myproc(ref cursor, integer)
    sp_myproc(ref cursor, date)
    sp_myproc(ref cursor, varchar2)
    sp_myproc(ref cursor, varchar2, integer)
    etc etc
    When you have 2 procedures that have the same signature, unless you specify the name of the parameter, there is no way to determine which procedure to call:
    tylerd@DEV2> CREATE OR REPLACE PACKAGE pkg_test_overload
      2  IS
      3
      4     PROCEDURE sp_mem(mCursor sys_refcursor,MemberId INTEGER);
      5     PROCEDURE sp_mem(mCursor sys_refcursor, mEmailId INTEGER);
      6
      7  END;
      8  /
    Package created.
    tylerd@DEV2>
    tylerd@DEV2> CREATE OR REPLACE PACKAGE BODY pkg_test_overload
      2  IS
      3
      4     PROCEDURE sp_mem(mCursor sys_refcursor,MemberId INTEGER)
      5     IS
      6
      7     BEGIN
      8
      9             NULL;
    10
    11     END;
    12
    13     PROCEDURE sp_mem(mCursor sys_refcursor, mEmailId INTEGER)
    14     IS
    15
    16     BEGIN
    17
    18             NULL;
    19
    20     END;
    21
    22  END;
    23  /
    Package body created.
    Package body created.
    tylerd@DEV2> var mycursor refcursor
    tylerd@DEV2> var memberid number
    tylerd@DEV2> exec pkg_test_overload.sp_mem(:mycursor,:memberid)
    BEGIN pkg_test_overload.sp_mem(:mycursor,:memberid); END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00307: too many declarations of 'SP_MEM' match this call
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    tylerd@DEV2> exec pkg_test_overload.sp_mem(:mycursor,MemberId=>:memberid)
    PL/SQL procedure successfully completed.
    tylerd@DEV2> exec pkg_test_overload.sp_mem(:mycursor,mEmailId=>:memberid)
    PL/SQL procedure successfully completed.To me, using named notation with overloading kind of defeats part of the objective...I'm not saying it's completely wrong, as sometimes I guess it's unavoidable, but I'd review the design carefully :-)
    HTH
    David
    Message was edited by:
    David Tyler
    Oops, copied the wrong bit of the output! :-)

  • Doubts about some popular function modules?

    Hi all,
    I have doubts about these function modules (see in parenthesis)
    ws_filename_get (to get the file name at ...?)
    ws_query (to get file size and environment variables from the presentation server to the ...?)
    upload and download (what are the new function modules used in place of these (I know they are obsolete now)
    what is the Object oriented equivalents of these functions?
    Thanks.
    Charles.
    ++++++++++++++++++++++++++++++++++++

    <i>(1)What is the use of ws_filename_get? Please be specific in your answer, about where the file resides: application server, presentation server or the ABAP program.</i>
    It is simply providing an interface for the user to choose a filename which resides on the frontend PC(presentation server). As suggested already, this has been replaced with FILE_OPEN_DIALOG method of the class CL_GUI_FRONTEND_SERVICES.
    <i>2)What is the use of ws_query? Please be specific in your answer, about where the file resides: application server, presentation server or the ABAP program.</i>
    Again, already answered,  this has been replace by multiple more specific methods of the same class mentioned above.
    <i>How can GUI_UPLOAD be a substitute of Upload? It is a substitute of WS_UPLOAD as upload is used to transfer data from presentation server to the ABAP program, whereas the other two are used to get it from presentation server to the application server.</i>
    They all transafer data from the presentation to your application.  They are all interchangable(in a sense), but you should be using the GUI_UPLOAD method of the class CL_GUI_FRONTEND_SERVICES.
    Regards
    Rich Heilman

  • Some concept questions

    Still reading Java 2 Exam Cram by Bill Brogden ISBN 1-57610-291-2 in case you need a reference.
    #1 pg. 44 Chapter 3 Java Operators with Primitives and Objects
    "One final note on the shift operators: If the right operand is larger than 31 for operation on 32-bit integers, the compiler uses only the five lowest order bits, that is, values of 0 to 31. With a 64-bit integer as the right operand, on the six lowest order bits are used, that is, values of 0 to 63."
    I didn't even know anything about shift operators or bitwise operations but I think I understood everything this section of the book was saying except this "final note".
    #2 pg. 62-63 Chapter 4 Creating Java Classes
    "Note that ifthe word 'final' is attached to a reference variable, the associated object must be created in the declaration statement, as in line 6. In this case, final means that the initial object reference cannot be replaced by another object reference-not that the object cannot be modified."
    So the author is saying that for reference variables with the final modifier, the variable cannot point to another memory location but the object in the current location can be modified? That's how I understand it. Can someone verify or correct me.
    #3 ...there is no more. I had more, like 7 questions but looking at them again and thinking about it, I kind of figured it out but 1 and 2 I still don't get even after the powerful "take a break and come back to it later" method of solving things.
    Thanks much!

    #2 pg. 62-63 Chapter 4 Creating Java Classes
    "Note that ifthe word 'final' is attached to a
    reference variable, the associated object must be
    created in the declaration statement, as in line 6. This is incorrect (unless there is some other context missing here - I don't have a copy of the book):
    (1) There need never be an "associated object" - the reference could be set to null;
    (2) The reference does not need to be assigned in the declaration statement - it needs to be assigned either there, or in an instance initialiser, or in every constructor.
    >
    So the author is saying that for reference variables
    with the final modifier, the variable cannot point to
    another memory location but the object in the current
    location can be modified? That's how I understand it.
    Can someone verify or correct me.Yes, that is correct

  • Need some concept clearence!!!

    1- what is the purpose of java interfaces ... Dont you think that with only abstract classes we can build an application. In that case we dont require interfaces
    [b ]2- what if java interfaces were not there, would a complex java application be possible ?
    3- Suppose there are no interfaces in java, which functionality in particular will be missing?
    4- why abstract classes? As we cannot instantiate abstract classes then what is the purpose behind all this..
    5- Is overloading a form of polymorphism? If yes, why? Because concept of polymorphism is, i believe, only possible in inheritance.

    1- what is the purpose of java interfaces ...
    Dont you think that with only abstract classes we can
    build an application. In that case we dont require
    interfaces
    [b ]2- what if java interfaces were not there,would a complex java application be possible ?
    3- Suppose there are no interfaces in java,
    which functionality in particular will be missing?
    4- why abstract classes? As we cannot
    instantiate abstract classes then what is the
    purpose behind all this..
    5- Is overloading a form of polymorphism? If
    yes, why? Because concept of polymorphism is, i
    believe, only possible in inheritance.
    Please, please, please don't ask this here for the millionth time.
    Search the forum this is asked all the time, search google, please!

  • A doubt about mailing concept

    Hi i just ended up completing mail servlet from where i can send mail through a SMTP and recieve at
    my POP account.Attachments too can be included/downloaded in both cases.
    1>
    The problem is that when i login to pop account and see the messages after it is retrieved
    , i get only new messages and not the ones which have been viewed already as we do in
    Outlook express.When i see them through outlook express first and then go to inbox from my servlet,those messages are not there and i get Empty.
    2>Every time retrieval process starts to show same messages again.
    How to handle this ?.I find illustration of codes in java-mail working in same way .

    If this is the limitation of Javamail as i have not
    seen a single code either in demo or anywhere then i
    would say it is good for nothingIt's not a limitation of Java. You need to understand the POP protocol. I don't think there's a way with POP to read a message and leave it on the server. As far as I know, once you read a message, it comes off the server. You need to manage its storage after that. The IMAP protocol allows you to read a message but leave it on the server. Read up on these protocols, and to through the [url http://java.sun.com/developer/onlineTraining/JavaMail/]JavaMail tutorial

  • Doubt about the concept of HashSet and LinkedHashSet

    I read one of the SCJP 6 exam book, when talking about Set, it gives one definition:
    When using HashSet or LinkedHashSet, the objects you add to them must override hashCode(). If they don't override hashCode(), the default Object. hashCode() method will allow multiple objects that you might consider "meaningfully equal" to be added to your "no duplicates allowed" set.
    What I am getting confused is that IF the objects we add to them must override hashCode(), we must override equals() method also! Isn't it?
    Edited by: roamer on 2009?10?23? ??10:29

    jverd wrote:
    endasil wrote:
    When using HashSet or LinkedHashSet, the objects you add to them must override hashCode(). If they don't override hashCode(), the default Object. hashCode() method will allow multiple objects that you might consider "meaningfully equal" to be added to your "no duplicates allowed" set.This really is completely wrong. Duplicates being added to your set has nothing to do with not overriding hashCode, and everything to do with not overriding equals. No, if you override equals but not hashCode, you can get dupes. That is, two items that your equals method says are equal can make it into the Set.Sorry, to clarify, what I meant by that was that to avoid duplicates of meaningfully equal objects, you must override equals, and overriding hashCode is just a consequent of overriding equals (to maintain the equal objects have equal hashcodes invariant). Overriding hashCode alone will not, and cannot, prevent meaningfully equal duplicates if you don't first define meaningfully equal by overriding equals.
    In summary, it's wrong because
    1) You don't have to override hashCode() if you don't override equals (or rather, don't deviate from the default "two objects are equal if and only if they are the same object").
    2) If you have any other definition of meaningfully equal that you want enforced in a Set, you must override equals to correspond to that definition.
    3) If you override equals, you must override hashCode by the contract of hashCode and equals.
    That's why I was saying that the statement was completely wrong. It's taking a backwards approach.
    By not overriding equals, you're saying that no two separate instances can be meaningfully equal, so the default hashCode is fine. Yeah, I kind of figured for the statement to be meaningful, it is assumed that you have already overridden equals. Otherwise what's the point of even mentioning something two objects "meaningfully equal"?All this talk of "meaningfully equal" makes me think the opposite: that they haven't overridden equals, or haven't discussed it yet. Otherwise you could just say that the objects are equal, or are equal according to equals().
    I would question the authority of the source that said that.I would quesiton the source's ability to express himself clearly. :-)Yeah, maybe that's all it is. In that case, I suggest (to the OP) reading [Effective Java, Chapter 3|http://java.sun.com/developer/Books/effectivejava/Chapter3.pdf]. Best source I've seen for beginners to make sense of all this.
    Edited by: endasil on 26-Oct-2009 1:11 PM

  • Doubt in some part!!!

    Hey, i ma actually learning JAVA, so i just wanted to know the coding, for
    1. how to enter an integer into a text file and read it back from txt file into program for calculation purpose??
    Edited by: Ashish.Uppin on Oct 1, 2007 9:26 AM

    The following is pretty standard code for reading the contents of an entire file into a StringBuffer.
    BufferedReader br = new BufferedReader(new FileReader("C:/MyFile.txt"));
    String xmlLine;
    while ((xmlLine = br.readLine()) != null)
    inputXML.append(xmlLine);
    br.close();
    You could adapt this for your purposes. If the file has multiple lines, and you know your integer is in one of the lines, you could do a check at each iteration of the loop to see if you can convert it from a String to an int (you could use the Integer wrapper class for this). Once converted to an int, you can use it in your calculations.
    It may not be the most elegant code, but it will hopefully give you a starting point.
    Good luck
    Jon

  • Doubt in ooops concept..

    hi,
      I am using NW 7.1 trial version. when I try to do a simple ALV prog in WebDyn .
    DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
    lr_input_field TYPE REF TO cl_salv_wd_uie_input_field.
    lr_column_settings ?= l_value.
    lr_column = lr_column_settings->get_column( 'PRICE' ).
    when I try to execute this error is coming says, "spelling or comma error ?= is not valid" in the particular line where we enter the ?= operator...
    its working in ECC6.0
    kindly tell me the way...

    Hi,
    You should ask your question in the right forum which should be *Web Dynpro Abap".
    You will get better feed back.
    Regards,
    Olivier

  • Doubt on basic  concept

    Say we have a class called Animal which has a method called shout().
    we have another class called Dog which has a method callled bark().
    Dog class extends Animal class.
    so Dog class has 2 methods now
    1)shout()
    2)bark()
    If we declare like this
    Animal a=new Animal();//valid statement
    a.shout();//valid statement
    Dog d=new Dog();//valid statement
    d.shout();//valid statement
    d.bark();//valid statement
    Animal a=new Dog();
    a.shout();//valid statement
    a.bark();//invalid since type of reference variable is Animal
    Dog d=new Animal();
    why the above decalration is not valid?
    Animal object has shout() method
    By inheritance Dog class has both shout() and bark() methods.
    So with above type of declaration d.shout() should execute.But that is wrong.
    A subclass reference variable cannt point to a subclass object.I know this kind of statement.But can any one explain why?

    kirn291 wrote:
    Dog d=new Animal();
    why the above decalration is not valid?To a Dog variable you can only assign objects which are of type Dog, and Animal isn't.
    A Dog object is both of type Dog and of type Animal. This means Dog objects can be assigned to both Dog variables and Animal variables.

Maybe you are looking for

  • Is not recognized by the server

    A lot of my emails are stored in my outbox due to an error message saying "the server does not recognize the name [email protected]" Even though it's my address and it is the address I'm sending from. It's also happening with other email addresses I

  • My adobe cc software will not launch

    hi all, firstly,sorry if this is the wrong forum for posting this. I've had cc installed for about a month. I was dabbling with shape layers in after effecs cc when it crashed. The application just disappeared. now none of my adobe cc applications wi

  • Do I need to design on just one page for a scrolling "single page design?

    Hi I want to design a single page scrolling website but I have quite a bit of content. In Adobe Muse tutorials such as this one: http://tv.adobe.com/watch/muse-feature-tour/adobe-muse-layers-panel-may-2013/ it looked like she was designing multiple p

  • Total Baseline Hours For A Resource Does Not Equal the Sum of the Weekly Baseline Hours for that Resource

    Hi, I am using Project Server 2010. I have a project schedule that has been baselined and no actual work has been charged to it. The project has 3 resources. I am in the Resource Usage View. With 2 of the three resources, the hours in the Baseline Wo

  • Create playlists in QT

    I've researched this topic on numerous postings, but I never could surmise a clearcut answer. I think that it may be the way that the question has been posed by users. I have a number of music videos saved as individual .mov files. I would like to cr